package com.kxmall.storage.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 告警查询对象
 */
@Data
@ApiModel("告警查询对象")
public class WarningStorageBo {

    @ApiModelProperty(value = "商品仓库ID")
    private Long storageId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "商品规格ID")
    private Long productAttrId;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "最低值")
    private Integer minNum;

    @ApiModelProperty(value = "最大值")
    private Integer maxNum;

    @ApiModelProperty(value = "预警数量")
    private Long num;

    @ApiModelProperty(value = "展示类型")
    private Boolean showType = false;

    @ApiModelProperty(value = "商品仓库IDs")
    private List<Long> storageIds;

    @ApiModelProperty(value = "商品子仓库IDs")
    private List<Long> childrenIds;

}
